package com.yn.pet.controller.pc.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class OtherAlarmQueryResponse {
    @ApiModelProperty("记录表id")
    private Long alarmId;

    @ApiModelProperty("设备id")
    private Long deviceId;

    @ApiModelProperty("设备编号")
    private String imei;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmTime;

 /*   @ApiModelProperty("报警类型")
    private Integer type;

    @ApiModelProperty("类型字符串")
    private String typeStr;*/

    @ApiModelProperty("报警类型")
    private Integer alarmType;

    @ApiModelProperty("类型字符串")
    private String alarmTypeStr;

    @ApiModelProperty("位置id")
    private Long locationId;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("详细地址")
    private String detailedLocation;

    @ApiModelProperty("速度")
    private Integer speed;
}
